package tan.dft.quanly;

import tan.dft.gps.R;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;

public class QlbiquanlyLayoutItem extends LinearLayout {

	public TextView qlidmay, qlidbql1, qlage, qlname, add, qlgender, qllat,
			qllng;

	public QlbiquanlyLayoutItem(Context context) {
		super(context);

		// tai day se thuc hien viec bien ca nhom view cau tao len item cua
		// listview
		// thanh 1 view duy nhat (LayoutInflater)
		LayoutInflater inflater = (LayoutInflater) context
				.getSystemService(Context.LAYOUT_INFLATER_SERVICE); // khoi tao
																	// lop
																	// LayoutInflater
																	// nho he
																	// thong
		inflater.inflate(R.layout.biquanlyitem, this, true);

		// khoi tao tat ca cac thanh phan cau tao len item cua listview (no o
		// trong layout co ten la itemstudent)
		qlidmay = (TextView) findViewById(R.id.qlidmay);
		qlidbql1 = (TextView) findViewById(R.id.qlidbql1);
		qlage = (TextView) findViewById(R.id.qlage);
		qlname = (TextView) findViewById(R.id.qlname);
		add = (TextView) findViewById(R.id.add);
		qlgender = (TextView) findViewById(R.id.qlgender);
		qllat = (TextView) findViewById(R.id.qllat);
		qllng = (TextView) findViewById(R.id.qllng);
	}
}
